package com.appbase.custom.base;

import android.os.Parcel;
import android.os.Parcelable;

public class DeviceNoticeBean implements Parcelable {
    private String msg;
    private String url;
    private String type;

    protected DeviceNoticeBean(Parcel in) {
        msg = in.readString();
        url = in.readString();
        type = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(msg);
        dest.writeString(url);
        dest.writeString(type);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<DeviceNoticeBean> CREATOR = new Creator<DeviceNoticeBean>() {
        @Override
        public DeviceNoticeBean createFromParcel(Parcel in) {
            return new DeviceNoticeBean(in);
        }

        @Override
        public DeviceNoticeBean[] newArray(int size) {
            return new DeviceNoticeBean[size];
        }
    };

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
